package com.design_pattern.abstractfactory;

public class Main {
    public static void main(String[] args) {
        AbstractFactory factory = new MyFactory();
        Food f = factory.createFood();
        Vehicle v = factory.createVehicle();
        Weapon w = factory.createWeapon();
        f.printName();
        v.run();
        w.biu();
    }
}
